package sk.naive.talker.props;

import java.util.*;

/**
 * @author <a href="mailto:rytier@naive.deepblue.sk">Martin "Rytier" Kerni</a>
 * @version $Revision: 1.3 $ $Date: 2005/01/10 22:11:24 $
 */
public class SortOrderProperty extends EnumeratedProperty {
	public static final String ASC = "ascending";
	public static final String DESC = "descending";
	public static final String OLD = "oldest";
	public static final String NEW = "newest";

	public Object defaultValue() {
		return ASC;
	}

	{
		Set s = new TreeSet();
		s.add(ASC);
		s.add(DESC);
		s.add(OLD);
		s.add(NEW);
		validValues = Collections.unmodifiableSet(s);
	}
}
